package dao;

import java.util.List;

import entity.User;;

public interface UserDao {
    
    public void save(User user);
    
    public void delete(int id);
    
    public void update(User user);
    
    public User get(int id);
    
    public List<User> queryByEmail(String email);
    
    public List<User> queryByUsername(String username);

	void delete(User user);
} 